package com.aaa.os.service;

import com.aaa.common.entity.FrontUserStore;
import com.aaa.common.entity.UserIntegral;
import com.aaa.common.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name="VipService",contextId = "RemoteUserIntegralService")
public interface RemoteUserIntegralService {
    @PostMapping("/userIntegral/selectUserStoreIntegral")
    UserIntegral selectUserStoreIntegral(@RequestBody UserIntegral userIntegral);

    @PostMapping("/userIntegral/edit")
    Result edit(@RequestBody UserIntegral userIntegral);
}
